<?php
require_once 'index.custom.inc';
/*
 *
require_once 'HTML/Template/ITX.php';
require_once 'class/TTFButton.php';
$tpl = new HTML_Template_ITX('./templates');
$tpl->loadTemplateFile('index.pub.tpl');
//root template parser
$tpl->setCurrentBlock("html") ;
$tpl->setVariable('html_title_client_name',	strip_tags(WEBPAGE::$gt[WEBPAGE::$scr_name]));
$tpl->setVariable('client_name',	WEBPAGE::$conf['app']['client_name']);
$tpl->setVariable('theme',			WEBPAGE::$themePath);
$tpl->setVariable('content_title',WEBPAGE::$gt[WEBPAGE::$scr_name]);
$tpl->setVariable('theme_path',sprintf("%s%s",WEBPAGE::_THEMES_PATH,WEBPAGE::$theme));
//content parser
$tpl->addBlockfile('content','content',sprintf("%s.%s",WEBPAGE::$scr_name,'tpl'));
$tpl->setCurrentBlock("content") ;
if ( file_exists(sprintf("./includes/%s.%s",WEBPAGE::$scr_name,'inc') )) {
  include sprintf("./includes/%s.%s",WEBPAGE::$scr_name,'inc');
  } 
$tpl->parseCurrentBlock("content") ;
$tpl->parseCurrentBlock("html") ;
$tpl->show();
 *
 */
?>
